<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>工厂收货对帐</title>
<body class="withvernav">
<div class="bodywrapper">
    {{include file='/public/leftmenu.tpl'}}
    <div class="centercontent">

        <div class="pageheader notab">
            <h1 class="pagetitle">收货与工厂出货对帐  &nbsp;<span class="pagedesc" style="font-size:14px;"><a href="/factory/ajaxbutton?op=goodsReceiptList" target="_blank"><u>历史收件对帐列表</u></a></span></h1>

      </div><!--pageheader-->

        <div id="contentwrapper" class="contentwrapper">

            <div id="basicform" class="subcontent">

                <!--contenttitle-->

                <form id="form" class="stdform stdform2" enctype="multipart/form-data" method="post" action="/factory/ajaxbutton?op=sendGoodsCheck">
                    <p>
                        <label>导入工厂出货单Excel表：</label>
                        <span class="field"><select name="selectday" id="selectday">
                                <option value="">-选择出货时间-</option>
                                {{foreach from=$selectMonth item=value key=key}}
                                    <option value="{{$value}}">
                                        {{$value}}
                                    </option>
                                {{/foreach}}
                            </select> &nbsp;&nbsp; Excel表：<input  type="file" name="file_excel" /></span>
                    </p>
                    <p>
                        <label>出货工厂：</label>
                        <span class="field">
                            <select name="factory" id="factory">
                                    <option value="工厂1">工厂1</option>
                                    <option value="工厂2" {{if $department=='13'}}selected{{/if}}>工厂2</option>
                            </select>
                       </span>
                    </p>
                    <p>
                    <label>工厂出货单模板下载：</label>
                    <span class="field">
                        <a href="/fuman/Exceltemplate/factory_template.xlsx" target="_blank"><u>工厂出货单模板.xlsx</u></a> 
                          <br>&nbsp;备注：如果无批量出货信息，请将批量格式及示例数据删除<br>
填写出货单信息时，请将模板里除标题外的示例数据删除填写正确的出货信息
                        </span>
                    </p>
                        <p>
                        <label> </label>
						<span class="field">
                        <button id="btn" type="submit" onClick="return setPostUrl()" class="submit radius2">提交核对</button>
                        </span>
                    </p>
                </form>

                <br />

            </div><!--subcontent-->

            <!--subcontent-->

        </div><!--contentwrapper-->

    </div><!-- centercontent -->


</div><!--bodywrapper-->

<script type="text/javascript">
	function setPostUrl(){
		var check_exp_types=",2,3,4,5,10,14";
		var expresstype=$("#deliverType").val();
		/*if(check_exp_types.indexOf(expresstype)>0 || expresstype==1){
			$("#form").attr("action","/CheckExpressPrice/checkDataValidity");	
		}else{
			$("#form").attr("action","/orderexcel/doBillWithExpress");	
		}	*/	
	}
</script>

</body>
</html>


